/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.basicdata.supervise.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.common.utils.StringUtils;
import com.jeeplus.modules.basicdata.supervise.entity.SupervisoryTask;
import com.jeeplus.modules.basicdata.supervise.mapper.SupervisoryTaskMapper;

/**
 * superviseService
 * @author 刘明星
 * @version 2020-12-09
 */
@Service
@Transactional(readOnly = true)
public class SupervisoryTaskService extends CrudService<SupervisoryTaskMapper, SupervisoryTask> {


	public SupervisoryTask get(String id) {
		SupervisoryTask supervisoryTask = super.get(id);
		return supervisoryTask;
	}

	public List<SupervisoryTask> findList(SupervisoryTask supervisoryTask) {
		return super.findList(supervisoryTask);
	}

	public Page<SupervisoryTask> findPage(Page<SupervisoryTask> page, SupervisoryTask supervisoryTask) {
		return super.findPage(page, supervisoryTask);
	}

	@Transactional(readOnly = false)
	public void save(SupervisoryTask supervisoryTask) {
		super.save(supervisoryTask);
	}

	@Transactional(readOnly = false)
	public void delete(SupervisoryTask supervisoryTask) {
		super.delete(supervisoryTask);
	}

}